import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    value1:null
  },
  getters:{
    value1:state => state.value1,
  },
  mutations: {
    changeVaule(state,value){
      state.value1 = value
    }
  },
  actions: {

  },
  modules: {
  }
})
